/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package web.enity;

import java.sql.Date;

/**
 *用于展示在订单页面
 * @author 10592
 */
public class OrderDital {
    int oid;
    String bookImage;
    String UserName;
    String totalPrice;
    Date createDate;
    String orderstate;

    public OrderDital() {
    }

    @Override
    public String toString() {
        return "OrderDital{" + "oid=" + oid + ", bookImage=" + bookImage + ", UserName=" + UserName + ", totalPrice=" + totalPrice + ", createDate=" + createDate + ", orderstate=" + orderstate + '}';
    }
    
    public OrderDital(int oid, String bookImage, String UserName, String totalPrice, Date createDate, String orderstate) {
        this.oid = oid;
        this.bookImage = bookImage;
        this.UserName = UserName;
        this.totalPrice = totalPrice;
        this.createDate = createDate;
        this.orderstate = orderstate;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }

    public String getBookImage() {
        return bookImage;
    }

    public void setBookImage(String bookImage) {
        this.bookImage = bookImage;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String UserName) {
        this.UserName = UserName;
    }

    public String getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(String totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(String orderstate) {
        this.orderstate = orderstate;
    }
    
    
}
